/*
 * Copyright@2009 qcj All rights reserved.
 */
package org.firegrid.model;

import java.util.Set;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author qcj,(jentrees2001@yahoo.com.cn)
 */
@Entity
@Table(name = "f_view_group")
public class ViewGroup extends IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7056136703424026040L;
	private String title;
	private int col;
	private int row;
	private Set<ItemLocation> items;

	/**
	 * @return the col
	 */
	public int getCol() {
		return col;
	}

	/**
	 * @param col
	 *            the col to set
	 */
	public void setCol(int col) {
		this.col = col;
	}

	/**
	 * @return the row
	 */
	public int getRow() {
		return row;
	}

	/**
	 * @param row
	 *            the row to set
	 */
	public void setRow(int row) {
		this.row = row;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the items
	 */
	public Set<ItemLocation> getItems() {
		return items;
	}

	/**
	 * @param items
	 *            the items to set
	 */
	public void setItems(Set<ItemLocation> items) {
		this.items = items;
	}
}
